use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct SubscribeScanEvent {
    #[serde(rename = "FromUserName")]
    pub source: String,
    #[serde(rename = "ToUserName")]
    pub target: String,
    #[serde(rename = "CreateTime")]
    pub create_time: i64,
    #[serde(rename = "MsgId")]
    pub id: Option<i64>,
    #[serde(rename = "Event")]
    pub event: String,
    #[serde(rename = "EventKey")]
    pub scene_id: String,
    #[serde(rename = "Ticket")]
    pub ticket: String,
}
